package com.material.supplier.service;

import java.util.List;
import com.material.supplier.domain.SupplierReservation;
import com.material.supplier.params.SupplierReservationQuery;
import com.material.supplier.vo.SupplierReservationDataVo;
import com.material.supplier.vo.SupplierReservationVo;

/**
 * 供应商预约送料Service接口
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public interface ISupplierReservationService 
{
    /**
     * 查询供应商预约送料
     * 
     * @param id 供应商预约送料主键
     * @return 供应商预约送料
     */
    public SupplierReservation selectSupplierReservationById(Long id);

    /**
     * 查询供应商预约送料列表
     * 
     * @param supplierReservation 供应商预约送料
     * @return 供应商预约送料集合
     */
    public List<SupplierReservation> selectSupplierReservationList(SupplierReservation supplierReservation);

    /**
     * 查询供应商预约送料列表
     * @param supplierReservation
     * @return
     */
    List<SupplierReservationVo> selectSupplierList(SupplierReservation supplierReservation);

    /**
     * 新增供应商预约送料
     * 
     * @param supplierReservation 供应商预约送料
     * @return 结果
     */
    public int insertSupplierReservation(SupplierReservation supplierReservation);

    /**
     * 修改供应商预约送料
     * 
     * @param supplierReservation 供应商预约送料
     * @return 结果
     */
    public int updateSupplierReservation(SupplierReservation supplierReservation);

    /**
     * 批量删除供应商预约送料
     * 
     * @param ids 需要删除的供应商预约送料主键集合
     * @return 结果
     */
    public int deleteSupplierReservationByIds(Long[] ids);

    /**
     * 删除供应商预约送料信息
     * 
     * @param id 供应商预约送料主键
     * @return 结果
     */
    public int deleteSupplierReservationById(Long id);

    /**
     * 根据车牌号查询预约
     * @param currentDate
     * @param carNum
     * @return
     */
    SupplierReservationDataVo selectSupplierReservationByCarNum(String currentDate, String carNum);

    /**
     * 签到
     * @param id
     */
    void signUp(Long id);

    /**
     * 分页列表
     * @param supplierReservation
     * @return
     */
    List<SupplierReservationDataVo> selectSupplierReservationPageList(SupplierReservationQuery supplierReservation);
}
